﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Open_MUD.Kernel.Server.Daemon;
using Open_MUD.Kernel.Utils;

namespace Open_MUD.Kernel.Server
{
    class MUDServer
    {
        private static MUDServer mS=null;
        private TelnetDemon tD = null;

        public static MUDServer getInstance()
        {
            if (mS == null)
                mS = new MUDServer();
            return mS;
        }

        public MUDServer()
        {
            tD = new TelnetDemon();
        }

        public void Start()
        {
            Log.getInstance().log("Iniciando el Servidor...");
            tD.Start();
        }
    }
}
